namespace Gsl
{
    using System;
    using System.Runtime.InteropServices;
    
    [StructLayout(LayoutKind.Sequential)]
    public class Block
    {
        int size;
        double[] data;
        
        public Block(int size)
        {
            this.size = size;
            data = new double[size];
        }
        
        public int Size
        {
            get { return size; }
        }
        
        public double[] Data
        {
            get { return data; }
        }
    }
}
